package com.mtw.bbs.gateway.config;


import com.mtw.bbs.common.core.constant.AuthConstant;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.stereotype.Component;

@Component
public class FeignInterceptor implements RequestInterceptor {

    @Override
    public void apply(RequestTemplate requestTemplate) {
            requestTemplate.header(AuthConstant.SERVICE_AUTH_KEY,"ignore");
    }
}


